package com.yunbao.project.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.yunbao.core.respones.Result;
import com.yunbao.project.entity.Merchant;

import java.io.UnsupportedEncodingException;

/**
 * <p>
 * 商家,店主 服务类
 * </p>
 *
 * @author 安能
 * @since 2019-09-16
 */
public interface IMerchantService extends IService<Merchant> {


    /**
     * <p>登录</p>
     *
     * @param merchant
     * @return
     * @throws UnsupportedEncodingException
     */
    Result login(Merchant merchant) throws UnsupportedEncodingException;
}
